package com.zjy.order.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zjy.basic.domain.BaseDomain;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class OrderProductDetail extends BaseDomain{

    /**
     * 服务名称
     */
    private String name;
    /**
     * 存放fastdfs地址，多个资源使用，分割
     */
    private String resources;
    private BigDecimal saleprice;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date offsaletime;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date onsaletime;
    /**
     * 状态：0下架 1上架
     */
    private Long state;
    private String costprice;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createtime = new Date();
    private Long salecount;
    private Long productId;
    private Long orderId;

}
